<?php

/**
 *
 */
class LogoutController extends Controller {

  
  public function actionIndex() {
    user()->logout();
    $this->redirect(FRONT_SITE_URL);
  }
}